package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;
import java.math.BigDecimal;

public interface EventquantitytypeDAO extends JpaDao<Eventquantitytype> {

	public Eventquantitytype findEventquantitytypeById(Integer id) throws DataAccessException;

	public Eventquantitytype findEventquantitytypeById(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByName(String name) throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByNameContaining(String name_1) throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByQuantity(BigDecimal quantity) throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByQuantity(BigDecimal quantity, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByDescription(String description) throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypeByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Eventquantitytype findEventquantitytypeByPrimaryKey(Integer id) throws DataAccessException;

	public Eventquantitytype findEventquantitytypeByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypesByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Eventquantitytype> findAllEventquantitytypes() throws DataAccessException;

	public Set<Eventquantitytype> findAllEventquantitytypes(int startResult, int maxRows) throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypesByEvent(Integer eventId, int start, int max);

	public Set<Eventquantitytype> findEventquantitytypesByQuantitytype(Integer quantitytypeId, int start, int max);

	public Set<Eventquantitytype> findEventquantitytypeByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventquantitytype> findEventquantitytypesByDetachedCriteria(CmiPagination page)
			throws DataAccessException;

	public Eventquantitytype findEventquantitytypeByPhysicalPrimaryKey(Integer eventId, Integer quantitytypeId,
			BigDecimal quantity) throws DataAccessException;

	public Eventquantitytype findEventquantitytypeByPhysicalPrimaryKey(Integer eventId, Integer quantitytypeId,
			BigDecimal quantity, int startResult, int maxRows) throws DataAccessException;
}
